<!-- contenna -->
<? $th=$this->session->userdata("thnanggaran"); ?>
<div class="wrap_right bgcontent">
	<h1 class="heading">Daftar Usulan Mp</h1>
	<a href =<?=base_url().'index.php/rpijm' ?> > RPIJM </a>&nbsp;&nbsp;	|&nbsp;&nbsp;
	<a href =<?=base_url().'index.php/mp' ?> > MP </a>
	<hr />
	<? echo form_label("Tahun Anggaran : " . $th ); ?> &nbsp;&nbsp;| &nbsp;&nbsp;<a href =<?=base_url().'index.php/usulan_mp/generate_usulan_mp' ?> > Generate Mp </a>
	<hr/>
		<table width="100%">
	  <thead>
		<th>No</th>
		<th width="15%">Tanggal</th>
		<th width="15%">Kode Akun</th>
		<th width="15%">Kode Wilayah</th>
		<th width="15%">uraian</th>
		<th width="15%">Detail Lokasi</th>
		<th width="15%">Volume</th>
		<th width="15%">Satuan</th>
		<th width="15%">Harga Satuan</th>
		<th width="15%">Tahun Anggaran</th>
		<!--th width="15%">Mp On</th-->
		
		
		<th>Aksi</th>
	  </thead>
	  <tbody>
		<?
		$i=1;
		foreach($result->result() as $r){
		?>
			<tr class='gradeC'>
				<td width='2%'><?=$i?></td>
				<td><?=$r->TglCreate?></td>
				<td><?=$r->kd_akun?></td>
				<td><?=$r->kd_wilayah?></td>
				<td><?=$r->uraian?></td>
				<td><?=$r->DetailLokasi?></td>
				<td><?=$r->Volume?></td>
				<td><?=$r->Satuan?></td>
				<td><?=$r->HargaSatuan?></td>
				<td><?=$r->TahunAnggaran?></td>
				<!--td><?=$r->MpOn?></td-->
				
				<td >
					<a href="<?=site_url().'/usulan_mp/edit/'.$r->id?>" class="control" >
						<span class="edit">edit Mp ON</span></a>
						
				</td>
			</tr>
		<?
		$i++;
		}
		?>
	  </tbody>
	</table>
	<div class="clearfix">&nbsp;</div>        
        <div class="paging right">
          <ul>
            <li class="active">
				 <li><?=$this->pagination->create_links()?></li>
          </ul>
        </div><!--end pagination-->
	<div class="clearfix"></div>
</div><!-- end wrap right content-->